Don't even send the NMEAOFF command to the units that can't handle it.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 8 Apr 2004 03:55:44 +0000 (03:55 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 8 Apr 2004 03:55:44 +0000 (03:55 +0000)
It blows the synch on ColorTrak away because it's  so slow to respone the
UNABLE...

gpsbabel/magproto.c

index b0f66d8a1735171273d8d4c8b22772adb993e206..9e65e791b918cfa76e163d4df989bba83cfcc5b2 100644 (file)
@@ -739,7 +739,7 @@ mag_rd_init(const char *portname)
                }
        }
 
-       if (!is_file) {
+       if (!is_file && (icon_mapping != gps315_icon_table)) {
                /*
                 * The 315 can't handle this command, so we set a global
                 * to ignore the NAK on it.